﻿<!DOCTYPE html>
<html>
<head>
   <title>Modifying Firmware Parameters from Concurrent Machine</title>
   <meta name="generator" content="Help & Manual">
   <meta name="keywords" content="">
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   <link type="text/css" href="default.css" rel="stylesheet">
   <link type="text/css" href="custom.css" rel="stylesheet">
   <script type="text/javascript" src="nsh.js"></script>
   
<!-- non-scrolling headers for CHM and browser-based help, local styles-->
<style TYPE="text/css" media="screen"> 
   <!-- 
   body {    
      margin:0; 
      padding:0; 
      overflow: auto; 
      background: #edede9; 
   } 
   #idheader { 
      width:100%; 
      height:auto; 
      padding: 0; 
      margin: 0;     
} 
    #idheaderbg  {
    background: #E40A00; 
}
#idheadernowrap  {
    white-space:nowrap; 
}
    ul {list-style-type: lower-roman}
   -->
   </style>
   
<style TYPE="text/css" MEDIA="print">
<!--
/* Hide navigation links and add space between header
     and text in the printed version. Not valid for eBooks. */
#idnav { display:none;	 }
.topichead { padding: 5px 5px 20px 5px; }
-->
</style>   
   <script type="text/javascript" src="jquery.js"></script>
   <script type="text/javascript" src="helpman_settings.js"></script>
   <script type="text/javascript" src="helpman_topicinit.js"></script>

   <script type="text/javascript">
     HMSyncTOC("index.html", "drvsim_inst_modifying-firmware-parameters-.htm");
   </script>
   <script type="text/javascript" src="highlight.js"></script>
   <script type="text/javascript">
     $(document).ready(function(){highlight();});
   </script>
</head>
<body>

<!--ZOOMSTOP-->

<div id="idheader" >
<div id="idheaderbg">
<table width="100%" border="0" cellspacing="0" cellpadding="0" 
       style="margin: 0px; color: #D7D7D7;">

  <tr valign="middle">
    <td align="left" valign="middle" class="topichead">
    <!--<div id="idheadernowrap">-->
    <p class="crumbs" id="idnav"><b>Navigation:</b>&nbsp;
   
   VI-DriveSim 19.2 on Linux &gt; VI-DriveSim 19.2 Configuration &gt; Steering wheel torque using Phase motor assembly &gt; Upgrade and Firmware Parameters&nbsp;&gt;</p>
      <h1 class="p_Heading1" style="page-break-after: avoid;"><span class="f_Heading1">Modifying Firmware Parameters from Concurrent Machine</span></h1>

    <!--</div>-->
    </td>
    <td align="right" width="180" valign="middle" class="topichead" id="idnav">
    <div id="idheadernowrap">
    <a href="javascript: print();"
    		onmouseover="document.images.prntr.src='print_a.png'" 
        onmouseout="document.images.prntr.src='print_n.png'"
        ><img name="prntr" border="0" alt="Print this Topic" title="Print this Topic" src="print_n.png"
        ></a>&nbsp;&nbsp;
     <a href="drvsim_inst_upgrade-procedure.htm"
        onmouseover="document.images.prev.src='back_a.png'" 
        onmouseout="document.images.prev.src='back_n.png'"
        ><img name=prev src="back_n.png" border=0 alt="Previous page"
        ></a><a href="drvsim_i_simwb_inst.htm"
        onmouseover="document.images.main.src='top_a.png'" 
        onmouseout="document.images.main.src='top_n.png'"><img name=main src="top_n.png" border=0 alt="Return to chapter overview"
        ></a><a href="drvsim_inst_phase-motor-control-mode.htm"
        onmouseover="document.images.next.src='next_a.png'" 
        onmouseout="document.images.next.src='next_n.png'"><img name=next src="next_n.png" border=0 alt="Next page"
        ></a>
    </div>
    </td>
  </tr>
</table>
</div>

<!-- The following code displays Expand All/Collapse All links  below the header in topics containing toggles -->
  

</div>  



<div id="idcontent"><div id="innerdiv"> 
<!--ZOOMRESTART-->
<h2 class="p_Heading2" style="text-align: justify; page-break-after: avoid; margin: 0px 0px 0px 0px;">In <span style="font-weight: bold;">/vigrade/vicrt/standalone/scripts/ </span>two files are installed during VI-DriveSim installation:</h2>
<h2 class="p_Heading2" style="text-align: justify; page-break-after: avoid; margin: 0px 0px 0px 0px;"><span class="f_Heading2">&nbsp;</span></h2>
<p style="text-align: justify; text-indent: 0px; page-break-after: avoid; padding: 0px 0px 0px 13px; margin: 0px 0px 0px 0px;"><span style="font-size:10pt; font-family: 'Arial Unicode MS','Lucida Sans Unicode','Arial';color:#000000;display:inline-block;width:13px;margin-left:-13px">&#8226;</span><span style="font-style: italic;">steering_wheel </span>- script to update the pdo, read/write parameters on the firmware</p><p style="text-align: justify; text-indent: 0px; page-break-after: avoid; padding: 0px 0px 0px 13px; margin: 0px 0px 0px 0px;"><span style="font-size:10pt; font-family: 'Arial Unicode MS','Lucida Sans Unicode','Arial';color:#000000;display:inline-block;width:13px;margin-left:-13px">&#8226;</span><span style="font-style: italic;">new_parameters_18_19.json - </span>.json file containing new parameters added in the firmware for VI-DriveSim 19.</p><h2 class="p_Heading2" style="text-align: justify; page-break-after: avoid; margin: 0px 0px 0px 0px;"><span class="f_Heading2">&nbsp;</span></h2>
<h2 class="p_Heading2" style="text-align: justify; page-break-after: avoid; margin: 0px 0px 0px 0px;">In the chapter <a href="drvsim_upgrade_procedure.htm" class="topiclink">Upgrade Procedure</a> in the Release Notes section, it is explained how to use the script in order to complete the upgrade procedure.</h2>
<h2 class="p_Heading2" style="text-align: justify; page-break-after: avoid; margin: 0px 0px 0px 0px;"><span class="f_Heading2">&nbsp;</span></h2>
<p class="p_Normal">The script <span class="f_CodeOnNormal">steering_wheel</span> can be used also to modify the parameters written in the Firmware, once the update procedure is completed. This allow the user to modify values without using a Windows machine and the Phase Tool Cockpit. </p>
<p class="p_Normal">&nbsp;</p>
<h2 class="p_Heading2" style="text-align: justify; page-break-after: avoid; margin: 0px 0px 0px 0px;">By opening a terminal in the folder /<span class="f_FilesForm">vigrade/vicrt/standalone/scripts</span>, and then by running the following command:</h2>
<h2 class="p_Heading2" style="text-align: justify; page-break-after: avoid; margin: 0px 0px 0px 0px;"><span class="f_Heading2">&nbsp;</span></h2>
<p class="p_CodeOnNormal" style="page-break-inside: avoid;"><span class="f_CodeOnNormal">./steering_wheel&nbsp;--help</span></p>
<h2 class="p_Heading2" style="text-align: justify; page-break-after: avoid; margin: 0px 0px 0px 0px;"><span class="f_Heading2">&nbsp;</span></h2>
<p class="p_Normal">the usage syntax for the script are shown.</p>
<h2 class="p_Heading2" style="text-align: justify; page-break-after: avoid;">As shown with the command <span class="f_FilesForm">./steering_wheel --help</span><span style="font-style: italic;">,</span> it is possible to read the parameters already written in the Electric motor drive, modify them and save them in an output file. </h2>
<h2 class="p_Heading2" style="text-align: justify; page-break-after: avoid;">With<span class="f_FilesForm"> ./steering_wheel print_conf</span><span style="font-style: italic;"> </span>all the parameters are shown in the terminal window; these parameters can be saved in an output file by running the command</h2>
<h2 class="p_Heading2" style="text-align: justify; page-break-after: avoid;"><span style="font-style: italic;">.</span><span class="f_FilesForm">/steering_wheel save_conf YOUR_OUTPUT_FILE.json</span></h2>
<h2 class="p_Heading2" style="text-align: justify; page-break-after: avoid;">A .json file will be saved in the folder <span class="f_FilesForm">/vigrade/vicrt/standalone/scripts</span><span style="font-style: italic;">. </span>The same file can be viewed/edited with a text editor as gedit.</h2>
<h2 class="p_Heading2" style="text-align: justify; page-break-after: avoid;">By typing <span style="font-style: italic;">.</span><span class="f_FilesForm">/steering_wheel write_conf YOUR_INPUT_FILE.json </span>the parameters written in the .json file will be uploaded to the Electric motor drive.</h2>

<!--ZOOMSTOP-->
</div></div>
<script type="text/javascript"> 
<!-- 
var lastSlashPos = document.URL.lastIndexOf("/") >
document.URL.lastIndexOf("\\") ? document.URL.lastIndexOf("/") :
document.URL.lastIndexOf("\\");
if( document.URL.substring( lastSlashPos + 1, lastSlashPos + 4
).toLowerCase() != "~hh" )
{
    nsrInit();
}
--> 
</script> 
</body>
</html>
